import 'package:flutter/services.dart'; onTap: () { Clipboard.setData(ClipboardData(text: "your text")); },
dependencies: clipboard: ^0.1.2+8